package designPattern.builder;

/**
 * Created by cdxuhongya on 2017/1/6.
 */
public class WomanBuilder implements Builder{

    private Person person;

    public WomanBuilder() {
        person = new Women();
    }

    public void buildHead() {
        person.setHead("woman head");
    }

    public void buildBody() {
        person.setBody("woman body");
    }

    public void buildFeet() {
        person.setFeet("woman feet");
    }

    public Person buildPerson() {
        return person;
    }
}
